package com.cn.lyl.lawyer.dao;

import com.cn.lyl.lawyer.model.entity.ServiceTypeModel;
import org.apache.ibatis.annotations.Options;

import java.util.List;

public interface ServiceTypeMapper {

    int add(ServiceTypeModel serviceTypeModel);

    int delete(Integer id);
    int update(ServiceTypeModel serviceTypeModel);
    ServiceTypeModel findById(Integer id);
    List<ServiceTypeModel> findAll();
    int countFindAll(ServiceTypeModel serviceTypeModel);
    ServiceTypeModel findByType(String type);
}
